@isTest
private class BigCustBudgetExecSheetHandlerTest{
    static testMethod void testMethod1(){
        //创建客户
        Account a = TestUtils.createAccount();
        a.NCICCode__c = 'abcd1234';
        
        Account a1 = new Account();
        a1.NCICCode__c = 'abcd123';
        a1.name='测试';
        insert a;
        insert a1;
        
        //创建大客户执行表
        BigCustBudgetExecSheet__c bs = new BigCustBudgetExecSheet__c();
        bs.nc_pk_cubasdoc__c = 'abcd123';
        bs.Customer__c = a.Id;
        bs.BigCustomerBudgetExternalId__c = 'bs1111333';
        insert bs;
        System.debug(a.Id + ' '+ a1.Id);
        System.assertEquals(a1.Id,[select Customer__c from BigCustBudgetExecSheet__c where Id =:bs.Id].Customer__c);
        
        
    }

}